package com.wicket.okrcalc.base.service.dto.common;

import com.wicket.okrcalc.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc OrgOrMatchingStandardDataDto
 * @使用场景
 */
@Data
public class OrgOrMatchingStandardDataDto
  extends BaseDto
  implements Serializable {

  /**
   * 填报评价责任人对象ID
   */
  @ApiModelProperty("填报评价责任人对象ID")
  private String personLiableObjId;

  /**
   * 填报评价责任人业务角色标识
   */
  @ApiModelProperty("填报评价责任人业务角色标识")
  private String bizRoleObjCode;

  /**
   * 填报评价责任人业务角色对象ID
   */
  @ApiModelProperty("填报评价责任人业务角色对象ID")
  private String bizRoleObjId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      OrgOrMatchingStandardDataDto that = (OrgOrMatchingStandardDataDto) o;
      return  personLiableObjId == that.personLiableObjId&&bizRoleObjCode == that.bizRoleObjCode&&bizRoleObjId == that.bizRoleObjId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), personLiableObjId,bizRoleObjCode,bizRoleObjId);
    }

}
